package com.zf.yichat.api.dto.request;

import com.zf.yichat.utils.YiChatMsgCode;
import org.apache.commons.lang3.StringUtils;
import org.hibernate.validator.internal.util.Contracts;

public class UserFeedbackMoneyRequest extends FsRequest {
    private String content;
    private Integer type;
    private String oderId;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOderId() {
        return oderId;
    }

    public void setOderId(String oderId) {
        this.oderId = oderId;
    }

    @Override
    public void valid() {

        Contracts.assertTrue(StringUtils.isNotBlank(content), YiChatMsgCode.SYSTEM_PARAM_ERROR.msg());

    }
}
